package com.customers.dao;

import com.customers.entity.User;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;

public interface UserDao {

    public  User searchUserByName(User user,String sql) throws SQLException;
    public  void queryUserByName(User user,String sql) throws SQLException, NoSuchMethodException, InvocationTargetException, IllegalAccessException;

}
